package com.beijiteshop.shop.model.api.response

/**
 * @Author LiaoZhongKai
 * @Date 2021/3/11 14:52
 * @Description 订单详情
 */
data class OrderListBean(
    var bus_OrdersID: String,
    var consignee: String,
    var createTime: String,
    var goods: List<OrderGood>?,
    var orderNumber: String,
    var orderStatus: String,
    var phone: String,
    var remark: String,
    var sellingPrice: String
){
    //是否是待付款状态
    val isTobePaid: Boolean
    get() {
        return orderStatus == "0"
    }
}

data class OrderGood(
    var bus_ShopCartID: String?,
    var bus_GoodsID: String?,
    var count: Int,
    var goodName: String,
    var marketPrice: String,
    var path: String,
    var price: String,
    var specification: String,
    var color: String
)